FROM java:8
VOLUME /tmp
ARG JAR_FILE
ADD  springboot-docker-demo-3.0.jar app.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]